package com.github.natholdallas.common

import com.fasterxml.jackson.annotation.JsonFormat
import com.github.natholdallas.common.Gender.*
import com.github.natholdallas.common.OrderType.*

/**
 * @property MALE 男
 * @property FEMALE 女
 * @property OTHER 其他性别
 */
@JsonFormat(shape = JsonFormat.Shape.NUMBER_INT)
enum class Gender {
    MALE,
    FEMALE,
    OTHER
}


@JsonFormat(shape = JsonFormat.Shape.NUMBER_INT)
enum class Role {
    ADMIN,
    STAFF,
    USER,
    COPILOT
}


/**
 * @property REWARD 打赏
 * @property NAMING 冠名
 * @property COACH 代练
 * @property NONE 无
 */
@JsonFormat(shape = JsonFormat.Shape.NUMBER_INT)
enum class OrderType {
    REWARD,
    NAMING,
    COACH,
    NONE
}
